import {Component, Input, OnInit, ViewEncapsulation} from '@angular/core';

@Component({
  selector: 'seed-sale-detail-item',
  templateUrl: './detail-item.component.html',
  styleUrls: ['./detail-item.component.scss'],
  host: {id: 'seed-detail-item'},
  encapsulation: ViewEncapsulation.None,
})
export class SaleDetailItemComponent implements OnInit {
  @Input() type: string;
  @Input() list: Array<any>;
  @Input() hasLoad: boolean;
  constructor() {
    this.type = 'follow';
    this.list = [];
  }

  ngOnInit() {
  }

}
